package Others.DesignPattern.DecoratorPattern.Original;

public class main {
    public static void main(String[] args) {

        people xc = new people("小菜");
        System.out.println("第一种装扮");
        xc.wearTShirts();
        xc.wearBigTrouser();
        xc.wearSneakers();
        xc.show();

        System.out.println("第二种装扮");
        xc.wearTie();
        xc.wearSuit();
        xc.wearLeatherShoes();
        xc.show();
    }

    //先说错误点， 如果这是我需要增加超人的装扮，就需要去修改people类中的实现
    //违背了开闭原则

}
